package dancespeedymodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DancePetLevelUPCondition 宠物等级配置表
type DancePetLevelUPCondition struct {
	Id                   int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	PetTypeId            int            `json:"petTypeId" gorm:"column:pet_type_id;type:bigint;default:0;not null;comment:宠物类型id"`
	Level                int64          `json:"level" gorm:"column:level;type:bigint;default:0;not null;comment:等级值"`
	ExpElementNoNum      int64          `json:"expElementNoNum" gorm:"column:exp_element_no_num;type:bigint;default:0;not null;comment:升级经验丹数量"`
	StarStoneNum         int64          `json:"starStoneNum" gorm:"column:star_stone_num;type:bigint;default:0;not null;comment:星钻数量"`
	Hp                   int64          `json:"hp" gorm:"column:hp;type:bigint;default:0;not null;comment:生命值"`
	Attack               int64          `json:"attack" gorm:"column:attack;type:bigint;default:0;not null;comment:攻击力"`
	Def                  int64          `json:"def" gorm:"column:def;type:bigint;default:0;not null;comment:防御"`
	AtkSpd               int64          `json:"atkSpd" gorm:"column:atk_spd;type:bigint;default:0;not null;comment:攻速"`
	CriticalHit          int64          `json:"criticalHit" gorm:"column:critical_hit;type:bigint;default:0;not null;comment:暴击"`
	CriticalHitDef       int64          `json:"criticalHitDef" gorm:"column:critical_hit_def;type:bigint;default:0;not null;comment:抗暴"`
	CriticalHitDamage    int64          `json:"criticalHitDamage" gorm:"column:critical_hit_damage;type:bigint;default:0;not null;comment:爆伤"`
	CriticalHitDamageDef int64          `json:"criticalHitDamageDef" gorm:"column:critical_hit_damage_def;type:bigint;default:0;not null;comment:爆伤防御"`
	CreatedId            int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`
	UpdateId             int64          `json:"update_id" gorm:"column:update_id;type:bigint;default:0;not null;comment:更新人id"`
	CreatedAt            time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt            time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt            gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
